Xbasic

A5_RUN_NETMAILER_JOB Function

Syntax

Result_Flag as L = A5_RUN_NETMAILER_JOB( Job_Name as C, Filter as C, Order as C, Show_UI as L )

Arguments

Job_NameCharacter

The name of the job in format "[email protected]".

FilterCharacter

An additional filter expression that sub-selects records from the records selected by the netmailer job.

OrderCharacter

An additional order expression that reorders records differently from the order expression in the netmailer job.

Show_UILogical

Default = .T. Indicates whether to display the user interface. .T. = Display UI .F. = Hide UI

Returns

Result_FlagLogical

.T. = Indicates that the job was run successfully. .F. = The job was cancelled or did not run successfully.

Description

The A5_RUN_NETMAILER_JOB() function runs a Netmailer job, optionally hiding the user interface.

Netmailer is sold as an add-in to Alpha Anywhere. Contact sales at Alpha Software for more information.

The following example displays a dialog box that confirms that you want to run the selected Netmailer job.

a5_run_netmailer_job("[email protected]", ".t.", "", .t.)

Limitations

Desktop applications only.

See Also